package com.library.service;

import com.library.model.Book;
import java.util.List;
import java.util.Map;

public interface BookService {
    List<Book> getAllBooks();
    List<Book> getBooksByCriteria(Map<String, Object> criteria);
    Book getBookById(Long id);
    Book getBookByIsbn(String isbn);
    boolean addBook(Book book);
    boolean updateBook(Book book);
    boolean deleteBook(Long id);
}
